import Vue from 'vue'
import { Header, Button, Cell } from 'mint-ui'
import { Button as button } from 'element-ui'

// 组件注册
[button, Header, Button, Cell].forEach(component => {
  typeof component === 'function' ||
  typeof component.install === 'function'
    ? Vue.use(component)
    : Vue.component(component.name, component)
})
